//
//  ViewController.m
//  转轮实现
//
//  Created by hyl on 16/7/7.
//  Copyright © 2016年 hyl. All rights reserved.
//

#import "ViewController.h"
#import "HYLWheelView.h"


@interface ViewController ()
@property (nonatomic,strong) HYLWheelView *wheelView;
@end

@implementation ViewController
- (IBAction)start:(UIButton *)sender {
    [self.wheelView start];
}
- (IBAction)pause:(UIButton *)sender {
}

- (void)viewDidLoad {
    [super viewDidLoad];
    HYLWheelView *view=[HYLWheelView wheelView];
    //居中
    view.center=self.view.center;
    self.wheelView=view;
    [self.view addSubview:view];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
